@main-height: 1200px;
@footer-top: @main-height+10px;
@main-background-color: #f0f0f0;
@menu-background-color:#324157;
@menu-color: #fff;
*{
  margin:0;
  padding: 0;
}
html,body,#app{
  height: 100%;
}
a{
  text-decoration: none;
}
.el-select{
  width: 100%;
}
.el-cascader{
  width: 100%
}
.content-header{
  margin: 14px 10px 0 10px;
  .el-tabs__item{
    font-size: 18px;
  }
}
.detail-table{
  border: 1px solid #909399;
  border-collapse: collapse;
  margin: 10px auto;
  th,td{
    border: 1px solid #909399;
    padding: 10px;
  }
  td:nth-child(odd) {
    text-align: right;
    width: 120px;
  }
  td:nth-child(even) {
    width: 300px;
  }
}
//header
.header {
  height: 78px;
  background-color:#FCFAFB;
  .login-common(){
    height: 30px;
    font-size: 14px;
    float: right;
    line-height: 27px;
    margin-top: 24px;
    margin-right: 136px;
    text-align: center;
    color: #F33968;
  }
  .unlogin{
    .login-common;
    a {
      width: 50px;
      float: left;
      height: 30px;
      line-height: 32px;
      vertical-align: middle;
      border: 1px solid #F33968;
      border-radius: 0px;
      border-top-right-radius: 5px;
      border-bottom-right-radius: 5px;
    }
    a:first-of-type {
      border-radius: 0px;
      border-right: 0px;
      border-top-left-radius: 5px;
      border-bottom-left-radius: 5px;
    }
  }
  .logining{
    .login-common;
    a{
      font-size: 14px;
      color: #F33968;
    }
  }
}

.logo {
  float: left;
  width: 240px;
  height: 30px;
}

.nav {
  float: right;
  width: 600px;
  a {
    color: #DC234F;
    width: 20%;
    text-align: center;
    font-size: 16px;
    line-height: 72px;
    height: 72px;
    float: left;
  }
  a:hover {
    background-color: #FBDDE5;
    border-bottom: 6px solid #E25577;
  }
}


/* footer.vue */
.footer{
  margin-top:@footer-top;
  left: 0;
  bottom: 0;
  text-align: center;
  height: 30px;
  line-height: 30px;
  color: #fff;
  background-color: rgb(50, 65, 87);
  font-size: 12px;
  width: 100%;
}
.footer a{
  color: #fff;
}
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
}
// main.vue 
.main{
  width: 100%;
  .elmenu {
    display: flex;
    top: 78px;
    bottom: 0px;
    overflow: hidden;
  }
  aside {
    min-width: 50px;
    background-color:@menu-background-color;
    &::-webkit-scrollbar {
      display: none;
    }
  
    &.showSidebar {
      overflow-x: hidden;
      overflow-y: auto;
    }
  }
  .menufold {
    background: url(../../src/assets/images/left.png) no-repeat;
    background-position: center center;
    width: 100%;
    height: 26px;
    display: block;
  }
  .menuunfold {
    background: url(../../src/assets/images/right.png) no-repeat;
    background-position: center center;
    height: 26px;
    width: 100%;
    display: block;
  }
  .menu-container:not(.el-menu--collapse) {
    width: 200px;
    min-height: 400px;
    color: white;
  }
  .el-menu{
    background-color: @menu-background-color;
    border-right: none;
  }
  .el-menu--vertical .el-menu--popup {
    background-color: rgb(50, 65, 87);
    color: #fff;
  }
  .el-menu-item{
    color: @menu-color;
  }
  // .el-menu--vertical {
  //   color: red;
  // }
  // .el-menu--popup{
  //   background-color: @menu-background-color;
  // }

  .el-menu-item:focus, .el-menu-item:hover{
    color: rgb(50, 65, 87);
  }
  .el-submenu__title:hover {
    color:rgb(50, 65, 87);
}
  .menu-toggle {
    background-color: rgb(75, 87, 107);
    text-align: center;
    color: white;
    height: 26px;
    line-height: 30px;
  }
  .menu-toggle:hover{
    cursor: pointer;
  }
  .el-submenu__title ,.main .el-menu-item{
    color: #fff;
  }
 .content-container {
    flex: 1;
    padding: 10px;
    padding-bottom: 1px;
    .primary-container {
      height: 100%;
      overflow-y: auto;
    }
    .content-wrapper {
      background-color: @main-background-color;
      box-sizing: border-box;
      height: @main-height;
    }
  }
}
//登录
.login{
  background: url(../../src/assets/images/loginbg.jpg) no-repeat;
  width: 100%;
  height: 100%;
}
.login-container{
  width: 450px;
  left: 55%;
  position: absolute;
  .title{
    color: #DB2450;
    font-size: 30px;
    margin: 120px auto 20px auto;
    text-align: center;
  }
  form{
    margin:30px;
  }
}
//注册
.register-container{
  background: url(../../src/assets/images/loginbg.jpg) no-repeat;
  width: 100%;
  height: 100%;
  padding-top: 80px;
}
.register-wrapper{
  width: 450px;
  margin: 0 auto auto auto;
  .title{
    color: #DB2450;
    font-size: 30px;
    text-align: center;
  }
  form{
    margin:30px;
  }
}
//用户信息
.user-info{
  margin-top: 30px;
  margin-left: 30px;
  .user-portrait{
    float: left;
    width: 180px;
    text-align: center;
    img{
      width: 132px;
    }
  }
  .info{
    float: left;
    span{
      display: inline-block;
      margin: 10px 10px 0 10px;
    }
  }
}
//提示
.user-tip{
  margin-top: 60px;
  
  .tip-item{
    width: 25%;
    float: left;
    text-align: center;
    margin-bottom: 10px;
  }
  a{
    color: #595959;
  }
  span {
    width: 100%;
    float: left;
    height: 68px;
    text-align: center;
    margin-bottom: 5px;
    a{
      width: 68px;
      height: 68px;
      background-color: #F89820;
      text-align: center;
      line-height: 68px;
      display: inherit;
      border-radius: 50%;
      font-size: 20px;
      color: #FFF;
      margin: 0px auto;
    }
  }
}